﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;

//using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Windows.Threading;
using System.Windows.Media.Imaging;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows;
using System.Media;
using Coding4Fun.Kinect.Wpf.Controls;
using System.Windows.Media;
using com.skype.api;
using Hugo.UIOptions;

namespace Hugo.UIPages
{
    public class SkypeMessageListUI : SlidingTileUIPage
    {
        public SkypeMessageListUI(String recipient, List<String> options, BitmapSource iconSource)
            : this(recipient,recipient, options, iconSource)
        { }

        public SkypeMessageListUI(String name, String recipient,  List<String> options, BitmapSource iconSource)
            : base(name, iconSource,80)
        {
            //this.addUIOption(new HomeUIOption());

            List<UIOption> op = new List<UIOption>();
            op.Add(new HomeUIOption());
            op.Add(new BackUIOption());
            this.addNavigationUIOptions(op);
            //this.addUIOption(new BackUIOption());

            foreach (String s in options)
            {
                this.addUIOption(new SkypeMessageUIOption(recipient, s, Util.loadBitmap(Properties.Resources.icon_info)));
            }
        }
    }
}
